﻿package core.ui.dialogs
{
    import core.ui.controls.*;
    import flash.text.*;

    public class M5cnDialog extends Dialog
    {

        public function M5cnDialog(param1:Tuyitu, param2:String)
        {
            super(param1, "rm_share_done", 280, 165, true);
            var _loc_3:* = new TextField();
            _loc_3.defaultTextFormat = new TextFormat("Verdana, Helvetica, San-serif", 12, 0);
            _loc_3.height = 50;
            _loc_3.width = 260;
            _loc_3.text = U.RM("rm_share_info");
            _loc_3.multiline = true;
            _loc_3.wordWrap = true;
            _loc_3.selectable = false;
            _loc_3.x = 10;
            _loc_3.y = 25;
            addChild(_loc_3);
            var _loc_4:* = new Literal("神马？可以随心随意在线定制精美礼物。");
            _loc_4.x = 10;
            _loc_4.y = 64;
            addChild(_loc_4);
            var _loc_5:* = new TextInput(180, 100, param2);
            _loc_5.x = 12;
            _loc_5.y = 105;
            addChild(_loc_5);
            var _loc_6:* = new Text("", 13, 3355443);
            _loc_6.htmlText = "<a href=\'http://www.ediy.com/zh-CN/openapi/upload.php?act=recive&uid=12&pic_url=" + param2 + "\' target=\'_new\'>" + U.RM("制作礼物") + "</a>";
            _loc_6.x = 200;
            _loc_6.y = 103;
            addChild(_loc_6);
            cancel.visible = false;
            ok.visible = false;
            return;
        }// end function

    }
}
